Important for all Apple Printing and Graphics Developers:
The information in this Technical Q & A is still relevant up to and including Mac OS 7.6 with QuickDraw GX 1.1.5. Beginning with the release of Mac OS 8.0, however, Apple plans to deliver a system which incorporates QuickDraw GX graphics and typography only. QuickDraw GX printer drivers and GX printing extensions will not be supported in Mac OS 8.0 or in future Mac OS releases. Apple's goal is to simplify the user experience of printing by unifying the Macintosh graphic and printing architectures and standardizing on the classic Printing Manager. For details on Apple's official announcement, refer to </dev/technotes/gxchange.html> |
However, if you're trying to modify the Confidential extension so that it adds to the Page Setup dialog, you have a bit more work to do. In addition to changing the 'over' resource, the Forward_Job call, and the name of the override function, you have to make changes to the code that adds the tag to the collection item.
The override calls a routine called SetUpPrintPanel() to add a new CollectionItem to the Job to store the confidential stamp information.
Since you want to change the extension so that it adds to the Page Setup dialog, you have to change this routine so that it adds the Collection to the Job's default Format object. Similarly, you have to change theGetStamp() routine so that it gets. Finally, you have to repeat all of these steps to add the panel to the Custom Page Setup dialog.
There is also another way that you can test your PageSetup panel. It is
possible for an application to add a PageSetup or CustomPageSetup override.
There are examples (Experiment no.9 and Banana Jr.) on the QuickDraw GX SDK
that demonstrate the latter. You might try adding your flipping code to one of
these.